package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;


public interface SupplierDao {
    //分页查询供应商
    Page<Supplier> selectSupplier(@Param("supplierName")String supplierName);

    // 添加供应商
    void insertSupplier(Supplier supplier);

    // 修改供應商
    void updateSupplier(Supplier supplier);

    //删除供应商
    void deleteSupplier(@Param("supplierId") String[] supplierId);
}
